import  socket
from settings import  ADDRESS,PROT

client = socket.socket()
client.connect((ADDRESS,PROT))

while True:
    command = input(">>>").strip
    if not command:
        continue
    client.send(command.decode('utf-8'))
    result = client.recv(1024)
    print(str(result))
client.close()
